package com.huluobo.mvvm_base.mvvm.net;

/**
 * 常量池,一般接口中的值都放在这里
 * Created by LC on 2024/2/22.
 */
public class Const {
    //基准的URL
    public static final String BASE_URL = "http://10.161.9.80:7012/";

    //sp中存token的key
    public static final String SP_TOKEN = "sp_token";
    //sp中存username的key
    public static final String SP_USERNAME = "sp_username";

    //参数中的token
    public static final String PARAM_TOKEN = "token";

    //用户名参数
    public static final String PARAM_USERNAME = "username";
    //密码参数
    public static final String PARAM_PASSWORD = "password";
    //登录接口
    public static final String URL_LOGIN = "/user/loginjson";

    //再次输入密码参数
    public static final String PARAM_RE_PASSWORD = "repassword";

    //注册接口
    public static final String URL_REGISTER = "/user/register";

    //json转换body参数
    public static final String MEDIA_PARSE = "application/json;charset=utf-8";

    //视频列表接口
    public static final String URL_VIDEO_LIST = "/video/findVideos";
    //视频列表参数
    public static final String PARAM_CURRENT_PAGE = "currentPage";
    //视频列表参数
    public static final String PARAM_PAGE_SIZE = "pageSize";

    //banner接口
    public static final String URL_BANNER = "/banner/json";

    //点赞参数,视频id
    public static final String PARAM_VIDEO_ID = "videoId";

    //点赞接口
    public static final String URL_LIKE_VIDEO = "/fav/love";

    //取消点赞接口
    public static final String URL_NO_LIKE_VIDEO = "/fav/nolove";

    //关注参数
    public static final String PARAM_AUTH_NAME = "authname";

    //关注接口
    public static final String URL_FOLLOW = "/guanzhu/guanzhu";

    //通过视频id获取评论接口
    public static final String URL_GET_COMMENT_BY_VIDEO_ID = "/comment/getCommentByVideoId";

    //评论参数
    public static final String PARAM_MSG = "msg";

    //发表评论接口
    public static final String URL_SEND_COMMENT = "/comment/comment";

    //取消关注接口
    public static final String URL_NO_FOLLOW = "/guanzhu/noguanzhu";

    //礼物接口
    public static final String URL_GIFT = "/gift/json";

    //聊天室ID
    public static final String ROOM_ID = "241591743741959";

    //开播接口
    public static final String URL_PUSH = "/push/start";
    //开播参数 直播地址
    public static final String PARAM_ADDRESS = "address";

    //开播参数 描述
    public static final String PARAM_CAPTION = "caption";

    //下播接口
    public static final String URL_STOP_PUSH = "/push/stop";

    //获取点赞视频接口
    public static final String URL_GET_LIKE_VIDEOS = "/fav/loveVideos";

    //修改生日参数
    public static final String PARAM_BRITH = "brith";

    //修改头像参数
    public static final String PARAM_ICON = "file";

    //修改昵称参数
    public static final String PARAM_NICKNAME = "nickname";

    //修改性别参数
    public static final String PARAM_SEX = "sex";

    //修改地址接口
    public static final String URL_UPDATE_ADDRESS = "/user/updateAddress";

    //修改生日接口
    public static final String URL_UPDATE_BRITH = "/user/updateBrith";

    //修改头像接口
    public static final String URL_UPDATE_ICON = "/user/updateIcon";

    //修改昵称接口
    public static final String URL_UPDATE_NICKNAME = "/user/updateNickname";

    //修改性别接口
    public static final String URL_UPDATE_SEX = "/user/updateSex";

}
